<div class="modal-header">
    <h4 class="modal-title">请选择筛选条件</h4>
</div>
<div class="panel-body">
    <form class="form-horizontal">
        <div class="col" style="width:100%">
            <div class="form-group">
                <label class="col-sm-2 control-label" for="input-id-1">创建时间</label>
                <div class="col-sm-4">
                    <div ng-controller="DatepickerDemoCtrl">
                        <input readonly
                                style="width:64%;float: left" type="text"
                                id="startTime"
                                class="form-control"
                                datepicker-popup="{{format}}" ng-model="dt" is-open="opened"
                                datepicker-options="dateOptions" ng-required="true"
                                close-text="关闭"/>
                        <span class="input-group-btn">
                            <button type="button" class="btn btn-default" ng-click="open($event)"><i class="glyphicon glyphicon-calendar"></i></button>
                        </span>
                    </div>
                </div>
                <label class="col-sm-1 control-label" for="input-id-1">---</label>
                <div class="col-sm-4">
                    <div ng-controller="DatepickerDemoCtrl">
                        <input readonly
                               style="width:64%;float: left" type="text"
                               id="endTime"
                               class="form-control"
                               datepicker-popup="{{format}}" ng-model="dt" is-open="opened"
                               datepicker-options="dateOptions" ng-required="true"
                               close-text="关闭"/>
                        <span class="input-group-btn">
                            <button type="button" class="btn btn-default" ng-click="open($event)"><i class="glyphicon glyphicon-calendar"></i></button>
                        </span>
                    </div>
                </div>
            </div>
        </div>
        <div class="line line-dashed b-b line-lg pull-in"></div>
        <div class="col" style="width:100%">
            <div class="form-group">
                <label class="col-sm-2 control-label" for="input-id-1">客    户</label>
                <div class="col-sm-9">
                    <input type="text" disabled style="width:85%;float: left" class="form-control" id="kh">
                    <span class="input-group-btn">
                        <button ng-click="showSelectCustomer('kh')" class="btn btn-default" type="button"><i class="fa fa-plus"></i></button>
                    </span>
                </div>
            </div>
        </div>
    </form>
</div>


<div class="modal-footer">
    <button class="btn btn-default" ng-click="cancelExcel()">取消</button>
    <button class="btn btn-primary" ng-click="okExcel()">确定</button>
</div>

<script type="text/ng-template" id="selectCustomer.html">
    <div ng-include="'tpl/selectCustomer.html'"></div>
</script>